import request from '/@/utils/request';
/**
 * 宣教记录列表
 * @param {*} data 
 * @returns 
 */
export const educationGetRecordList = (data) =>{
    return request({
        url: '/education/getRecordList',
        method: 'get',
        params:data,
    });
}
/**
 * 宣教记录详情
 * @param {*} data 
 * @returns 
 */
export const educationGetRecordDetail = (data) =>{
    return request({
        url: '/education/getRecordDetail',
        method: 'get',
        params:data,
    });
}
/**
 * 宣教记录-编辑发送
 * @param {*} data 
 * @returns 
 */
export const educationRecordEditSend = (data) =>{
    return request({
        url: '/education/recordEditSend',
        method: 'post',
        data,
    });
}

/**
 * 宣教库模板列表
 * @returns 
 */
export const educationTemplateList = (data = {}) => {
    return request({
        url: '/education/template/list',
        method: 'get',
        params: data,
    });
}